package com.zhieasy.common.api;

import com.zhieasy.domain.StudentVo;
import lombok.Data;

import java.util.List;

/**
 * layui表格的返回结果对象
 * @author 风亦未止
 * @date 2021/11/26 17:18
 */
@Data
public class LayuiTableResult {
    /**
     * 状态码 0成功
     */
   private Integer code;
    /**
     * 返回信息
     */
   private String msg;
    /**
     * 数量
     */
   private Integer count;
    /**
     * 返回数据
     */
   private List<StudentVo> data;

    public LayuiTableResult(Integer code, String msg, Integer count, List<StudentVo> data) {
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data = data;
    }
}
